1 00:00:02,160 --> 00:00:03,330 And so on screen. 2 00:00:12,050 --> 00:00:14,750 So you can see my screen, right? 3 00:00:14,930 --> 00:00:15,990 Yes, yes, yes. 4 00:00:16,820 --> 00:00:19,010 All right, so we we are working on this. 5 00:00:19,020 --> 00:00:26,950 Last time we managed to we managed to connect and create this page. 6 00:00:27,620 --> 00:00:34,550 This is the details page of our code of our library of an article we pulled in this data here. 7 00:00:34,550 --> 00:00:40,910 But we see that the next day when we meet, we are now going to get our data to the front end so that 8 00:00:40,940 --> 00:00:48,860 the articles that we have let me open another and you open another tab here with the back end of. 9 00:00:52,890 --> 00:00:58,440 So that the articles that we have in our database are going to be displayed on the front end. 10 00:00:59,580 --> 00:01:03,370 So let me go to article. 11 00:01:06,760 --> 00:01:12,460 My brother is OK because we would like to see them on the front end. 12 00:01:13,010 --> 00:01:15,040 So what are you going to do here? 13 00:01:15,820 --> 00:01:21,820 Number one, we are going to be connected writing our query to these articles, to our database, from 14 00:01:21,820 --> 00:01:26,010 our database, and then we are going to look through them and display them here. 15 00:01:26,680 --> 00:01:31,750 And then the next thing that you are going to do to remember that is that is apparently that is still 16 00:01:31,750 --> 00:01:35,040 within the bootstrap theme. 17 00:01:35,440 --> 00:01:43,150 So that I want to cover that very quickly so that you can jump into your routing today and you are routing. 18 00:01:43,180 --> 00:01:45,670 We are going to be covering about how to click. 19 00:01:45,690 --> 00:01:50,140 If, for instance, I come to this article, you see it's not even linked. 20 00:01:50,590 --> 00:01:54,220 If I click on photography is going to show me this page. 21 00:01:54,760 --> 00:01:56,740 If I click on any other article here. 22 00:01:56,790 --> 00:02:00,940 And again, you can see it's not even showing the idea of the article. 23 00:02:01,420 --> 00:02:06,920 What we're are expecting to see here is maybe library and then cost and then slash the idea of the article 24 00:02:06,920 --> 00:02:09,520 like something like I think and grow rich here. 25 00:02:09,610 --> 00:02:11,200 Want to see that detail. 26 00:02:12,070 --> 00:02:17,110 So I want to do that very quickly so that we cover to at least those two items today. 27 00:02:18,400 --> 00:02:20,560 Now, how are you going to do this? 28 00:02:21,130 --> 00:02:30,070 The first thing that we are going to be needing to do, we will go to our a double double W Fulda or 29 00:02:30,250 --> 00:02:31,460 the font is very small. 30 00:02:31,480 --> 00:02:34,810 Let me let me and logit. 31 00:02:35,560 --> 00:02:36,540 Sorry, Karani. 32 00:02:36,550 --> 00:02:37,870 What is the topic today? 33 00:02:38,590 --> 00:02:39,610 I didn't get it. 34 00:02:40,710 --> 00:02:45,400 I said the today the topic is you are routing. 35 00:02:47,020 --> 00:02:53,220 Which one you are, you see, the answer is in there is the in the beginning Tobins. 36 00:02:53,600 --> 00:02:54,870 So this is what they. 37 00:02:55,540 --> 00:02:56,830 This is what they told you. 38 00:02:56,830 --> 00:02:59,380 We needed to, first of all, cover these to cover. 39 00:02:59,590 --> 00:03:00,330 Yes, yes. 40 00:03:00,330 --> 00:03:00,450 Yes. 41 00:03:01,090 --> 00:03:07,390 When we developed this this outline, I think we missed misplaced some of these items. 42 00:03:07,800 --> 00:03:09,990 OK, but no problems. 43 00:03:10,000 --> 00:03:12,310 We are going to be covering that today. 44 00:03:12,460 --> 00:03:15,250 So that is what they said before we covered this. 45 00:03:15,700 --> 00:03:21,790 We need to display our articles on the front end here, all of them for the articles that we have on 46 00:03:21,790 --> 00:03:22,410 the database. 47 00:03:22,420 --> 00:03:27,910 We need them here so that now after we click on an article, we want to navigate to the page that has 48 00:03:27,910 --> 00:03:29,300 the details of that article. 49 00:03:30,280 --> 00:03:32,170 So that is what we want to do today. 50 00:03:33,310 --> 00:03:36,580 So this is what this is what you call your regular routing. 51 00:03:37,520 --> 00:03:43,730 Yes, that is you are railroading it, it's it's not over yet, does not come, obviously, in therapy, 52 00:03:44,720 --> 00:03:48,510 if you integrate your own theme, you have to do you there are some things that you need to do. 53 00:03:48,510 --> 00:03:49,920 We are going to be seeing that today. 54 00:03:50,360 --> 00:03:51,920 OK, yeah. 55 00:03:52,820 --> 00:03:59,750 So I had I had an index dot p p my friend, he had just deleted it so that you can create it from scratch. 56 00:04:00,500 --> 00:04:09,230 And remember what we said it, we said that if you have an index dot the email file, if you want to 57 00:04:09,240 --> 00:04:15,380 solve that file with, with some python code you need an index dot Petfinder. 58 00:04:15,380 --> 00:04:17,900 So the naming of the files must match. 59 00:04:18,410 --> 00:04:19,130 So you're going to. 60 00:04:19,130 --> 00:04:19,360 Right. 61 00:04:19,370 --> 00:04:22,820 Click here and create an index file. 62 00:04:23,750 --> 00:04:29,480 And then in this file we are going to be putting in the code from the documentation. 63 00:04:30,020 --> 00:04:31,790 You remember the code that we had last time. 64 00:04:33,300 --> 00:04:42,450 So you're going to go into those here and then you're going to look for a page, it's called what it's 65 00:04:42,450 --> 00:04:48,100 called Photo Autopage I think Pottow. 66 00:04:50,800 --> 00:04:56,740 This, yeah, this one, and then you can scroll down to this part, we need this piece of code. 67 00:04:56,920 --> 00:05:04,900 So we copied and pasted here and we are not interested in this second line of code here. 68 00:05:05,080 --> 00:05:11,950 So what you can go ahead and do immediately is to write, to get our articles so we can do articles 69 00:05:11,950 --> 00:05:15,730 equals in this one because we want to get a number of them. 70 00:05:15,730 --> 00:05:23,130 We can write on Esquibel to get to get to that so we can do it to be good, Eskil. 71 00:05:25,700 --> 00:05:32,300 And then you say here we are going to see if we can just go ahead and select everything, but of course, 72 00:05:32,300 --> 00:05:38,320 if if from your database, we're going to select only what you need so that you can reduce the load 73 00:05:38,330 --> 00:05:49,030 time of your software so that it's all from our people is at record library. 74 00:05:49,520 --> 00:05:56,510 And then we can organize this as a dictionary so we can see and the same this through. 75 00:05:58,570 --> 00:06:04,720 So we have this, we have this, and hopefully we have written everything properly here so we can go 76 00:06:04,720 --> 00:06:08,950 ahead now and compose our we can go ahead and compose our. 77 00:06:09,990 --> 00:06:17,580 I mean, to minimize this, to get some space on our own so we can see how context equals and then we 78 00:06:17,600 --> 00:06:20,610 as an object and we see. 79 00:06:21,840 --> 00:06:30,870 This one is inside that articles and then we assign this to the articles that you got here so we can 80 00:06:30,870 --> 00:06:34,140 put it there and see if indeed we have that. 81 00:06:34,180 --> 00:06:42,090 Now, if this if the query here is correct, everything that we have from this table has now been returned 82 00:06:42,420 --> 00:06:46,310 and we have it in our index not be advertised on file here. 83 00:06:46,890 --> 00:06:50,970 So how we are going to get it, get what we need. 84 00:06:50,970 --> 00:06:55,300 We can come to our front and look for where we have this photography. 85 00:06:55,380 --> 00:06:56,940 We can just try and copy. 86 00:06:56,940 --> 00:06:57,630 I clicked. 87 00:06:58,080 --> 00:07:01,920 So let me copy our costs. 88 00:07:01,920 --> 00:07:05,550 And then I go back here, find it. 89 00:07:05,550 --> 00:07:07,260 I can see it here. 90 00:07:07,290 --> 00:07:15,480 So we want to basically what we want to do, want to remove to remove all these items and only leave 91 00:07:15,480 --> 00:07:17,550 one of them so that we can loop through. 92 00:07:17,550 --> 00:07:19,860 We can look a little without that single item. 93 00:07:21,130 --> 00:07:26,660 So let's see this one that looks like it. 94 00:07:26,860 --> 00:07:29,460 So we need to remove all these others that we have here. 95 00:07:29,500 --> 00:07:34,660 So from here, this one will need to remove so we can compress it. 96 00:07:34,660 --> 00:07:35,920 We also need to remove that. 97 00:07:36,610 --> 00:07:42,560 There's a need to remove that, remove that, remove this one also, I think up to them. 98 00:07:42,850 --> 00:07:46,420 So we need to remove all these, remove them. 99 00:07:46,840 --> 00:07:51,100 We can save and try to see what we have on the front end now. 100 00:07:51,100 --> 00:07:52,210 So we reload this. 101 00:07:53,540 --> 00:07:58,730 And you see, we have only one item of courses, we have only one, so we are going to loop with this 102 00:07:58,730 --> 00:08:01,140 one and we are expecting to get out. 103 00:08:01,400 --> 00:08:04,690 We are expecting to get all items in that. 104 00:08:04,690 --> 00:08:09,480 In this case, we expect to get a how many the number of items, the number of articles we have here. 105 00:08:10,520 --> 00:08:13,870 So let's go here and write our Ginge code. 106 00:08:15,030 --> 00:08:16,510 Why is this here? 107 00:08:17,090 --> 00:08:26,720 So here you are going to do Ginge you're going to see for article in articles. 108 00:08:26,720 --> 00:08:33,800 And these articles, these articles is we are referring to the articles that we returned from our from 109 00:08:33,800 --> 00:08:34,760 our context here. 110 00:08:34,790 --> 00:08:38,810 So for article in articles, look through that. 111 00:08:39,370 --> 00:08:46,010 Then we can just end our follow up here so and feel like that. 112 00:08:46,460 --> 00:08:50,780 And we are expecting now, of course, we are not going to be seeing the details of these things here, 113 00:08:51,050 --> 00:08:56,660 but we expect to see when we do this, we expect if our code is working, we want to see a number of 114 00:08:56,690 --> 00:08:57,980 these ones to duplicate it. 115 00:08:58,610 --> 00:09:01,320 So let's review and see whether that is it. 116 00:09:01,340 --> 00:09:01,670 Yes. 117 00:09:01,670 --> 00:09:03,710 And we have and we have a number of them. 118 00:09:04,850 --> 00:09:12,550 So that means that our queries running and we have about three times two, three, four, 12, 13. 119 00:09:12,560 --> 00:09:15,620 I think we have around 18 articles in our database. 120 00:09:16,100 --> 00:09:19,250 So the next thing that remains now is just to display this content here. 121 00:09:19,250 --> 00:09:26,130 And that that that becomes very easy because it's just to take this article, for instance, and in 122 00:09:26,150 --> 00:09:34,910 the photography where we have photography, replace this with opening and closing and then we say photography, 123 00:09:34,910 --> 00:09:37,480 dot, I don't know what is the name of this. 124 00:09:37,490 --> 00:09:40,730 Let's see from the back end article. 125 00:09:40,730 --> 00:09:42,230 Name the article name. 126 00:09:44,200 --> 00:09:54,820 So we can do an article and ask him if he wants to go back here, we reload, we expect to see the names 127 00:09:54,820 --> 00:09:56,750 of articles displayed every year. 128 00:09:56,840 --> 00:10:00,970 We have three Dadri, we have the two we have reached that. 129 00:10:01,000 --> 00:10:02,170 We have all these. 130 00:10:02,440 --> 00:10:06,940 If you look at these, these are the articles that we have here on our database here. 131 00:10:07,360 --> 00:10:10,570 So we have them now displaying on the front end. 132 00:10:10,570 --> 00:10:16,650 And maybe if you want to organize them, if you want to order them, this is a normal esquibel. 133 00:10:16,660 --> 00:10:25,960 You are able to do that so I can come here and say something like or to buy in and we can order that 134 00:10:25,960 --> 00:10:26,540 if I want. 135 00:10:26,570 --> 00:10:27,250 Let's see. 136 00:10:28,540 --> 00:10:33,360 That's been our DP, my admin here. 137 00:10:34,620 --> 00:10:40,780 And we look for training database and then we look for adequate library. 138 00:10:41,680 --> 00:10:43,270 It should be somewhere here. 139 00:10:45,070 --> 00:10:51,820 LeBron is here and we can order by this creation on this creation, ideally this creation that is there 140 00:10:51,820 --> 00:10:59,290 is a timestamp for when this item was inserted into this table, this database table, then this modified 141 00:10:59,290 --> 00:11:01,610 keeps tracking the changes that are made. 142 00:11:01,630 --> 00:11:06,070 So if you edit if you edit the article, this time stamp is going to change. 143 00:11:06,550 --> 00:11:07,910 But this remains constant. 144 00:11:07,950 --> 00:11:11,950 The day that you created that article is the day that is going to be logged the other day and the time 145 00:11:12,490 --> 00:11:16,270 so we can order by creation so we can see order by. 146 00:11:18,810 --> 00:11:27,980 Prison, we can order the order, this descending by descending, so if we reload this, we expect that 147 00:11:27,980 --> 00:11:32,330 the items that are on top of that list are think and grow rich, come stop. 148 00:11:32,520 --> 00:11:34,490 And that is the article we have on the top here. 149 00:11:34,490 --> 00:11:35,360 They will reach that. 150 00:11:37,340 --> 00:11:38,690 Yeah, I think yeah. 151 00:11:39,260 --> 00:11:42,130 I think the timing was not like they are they organized here. 152 00:11:42,500 --> 00:11:44,050 So it's not that organized. 153 00:11:44,630 --> 00:11:50,660 Now, the next thing, if you click on this cause, for instance, if I click on this, it takes me 154 00:11:50,660 --> 00:11:51,350 to this page. 155 00:11:51,350 --> 00:11:54,470 You see things thing, the Kangaroo Ridge and the reason why it's doing this. 156 00:11:54,480 --> 00:12:03,530 Remember, we we we had recorded this on our we had recorded that on our horses cost typifying let me 157 00:12:03,530 --> 00:12:08,960 open it here so that you can see if I open Kozloduy like you see this one is hardcoded. 158 00:12:09,230 --> 00:12:10,850 So this is what you want to do today. 159 00:12:10,860 --> 00:12:16,940 So what we have been doing today is wrapping up the wrapping up the displaying of these articles on 160 00:12:16,940 --> 00:12:19,940 the front end, which of finished unless if you have questions. 161 00:12:20,300 --> 00:12:25,960 So the next thing that I want us to cover now is stop recording this, because if we come down here 162 00:12:25,960 --> 00:12:29,750 and click this something like zero to one, we click this. 163 00:12:30,170 --> 00:12:32,450 We expect we are supposed to see 021 here. 164 00:12:32,780 --> 00:12:36,440 But you see, it's telling us the can it simply because it's hard coded. 165 00:12:36,800 --> 00:12:44,030 So we want to see how we are going to route so that we have articles, real articles here and there, 166 00:12:44,060 --> 00:12:44,840 even these images. 167 00:12:44,840 --> 00:12:47,090 You can represent this the same way we did. 168 00:12:47,510 --> 00:12:48,520 We did not the front end. 169 00:12:48,530 --> 00:12:50,630 So for instance, this think and grow rich. 170 00:12:51,080 --> 00:12:53,090 But unfortunately, we don't have all the images. 171 00:12:53,150 --> 00:12:54,620 We are not going to be displaying that. 172 00:12:55,190 --> 00:13:02,780 But it is as simple as putting here, which is the image, as simple as putting articles, dot image, 173 00:13:02,780 --> 00:13:12,140 sort of image, the variable that you had when you were in there for group dot, the name of the image 174 00:13:12,140 --> 00:13:14,180 or the name of the image field in your database. 175 00:13:15,210 --> 00:13:22,650 So if you have questions now up to that point, we can take them, then move forward Karani, there 176 00:13:22,650 --> 00:13:26,580 is a delay in the loading for screen. 177 00:13:26,610 --> 00:13:33,600 So when you move from screen to screen, so give, give, give sometimes to loading, because we are 178 00:13:33,600 --> 00:13:38,450 not sometimes we cannot see what you are right in the court, for example. 179 00:13:38,460 --> 00:13:42,270 It's only been, can I say to jump out and jump in again. 180 00:13:42,270 --> 00:13:44,270 Maybe it will help solve the delay. 181 00:13:46,110 --> 00:13:48,280 Trayvon is the. 182 00:14:00,320 --> 00:14:02,950 So that's why it is going back. 183 00:15:24,510 --> 00:15:26,400 OK, I am back. 184 00:15:28,320 --> 00:15:29,240 Welcome, welcome. 185 00:15:29,340 --> 00:15:34,380 As you are audible, but just give the give when you move from screen to screen. 186 00:15:34,830 --> 00:15:35,370 Yes. 187 00:15:35,410 --> 00:15:41,790 The fraction of second to load like that, is not it. 188 00:15:42,150 --> 00:15:43,450 Yeah, yeah, yeah. 189 00:15:43,680 --> 00:15:44,160 Go ahead. 190 00:15:44,160 --> 00:15:44,600 Go ahead. 191 00:15:45,360 --> 00:15:47,030 OK, so do we have an equation or. 192 00:15:47,130 --> 00:15:48,060 I glad. 193 00:15:52,290 --> 00:15:59,640 OK, so so now let's go ahead and connected this in connecting this item. 194 00:16:00,000 --> 00:16:01,380 So now what do we do? 195 00:16:01,390 --> 00:16:03,300 What we normally do to connect that item? 196 00:16:03,300 --> 00:16:09,480 I'm going to close the index, the DECMIL and index the tie, because ideally we almost finished with 197 00:16:09,490 --> 00:16:09,780 those. 198 00:16:10,000 --> 00:16:14,500 I want to remain with this with the Peli. 199 00:16:14,520 --> 00:16:24,000 This is where we have some work to do and we also have some work to do with the with the hooks NBA Finals. 200 00:16:24,000 --> 00:16:26,220 So open also open the file. 201 00:16:26,910 --> 00:16:32,700 And this is where we need to this is where we need to define this is what we need to define our our. 202 00:16:35,180 --> 00:16:38,860 Our out so we can come maybe somewhere around here. 203 00:16:38,890 --> 00:16:44,290 Just go on file and add the following, the following. 204 00:16:44,680 --> 00:16:47,460 This parameter screen is not visible. 205 00:16:50,450 --> 00:16:51,230 Yes, sir. 206 00:16:51,260 --> 00:16:52,520 Sir, your screen commander. 207 00:16:52,970 --> 00:16:55,200 Oh, sorry, sorry, sorry, sorry. 208 00:16:55,470 --> 00:16:55,930 Yeah. 209 00:17:00,150 --> 00:17:02,480 OK, so it's visible now. 210 00:17:02,920 --> 00:17:03,870 Yes, yes. 211 00:17:04,460 --> 00:17:04,950 OK, 212 00:17:08,190 --> 00:17:16,470 so I was saying you can come to any part of your house to apply for bail, and I am I am just below 213 00:17:16,470 --> 00:17:24,780 the generator's ton here and then added the following code website about road rules, because they are 214 00:17:24,780 --> 00:17:27,350 not they are not by default on frappé. 215 00:17:27,360 --> 00:17:34,530 So if we come to our browser here, if you come to their browser and then we click on Think and Grow 216 00:17:34,530 --> 00:17:38,070 Rich, we expect this thing to have a navigator. 217 00:17:38,110 --> 00:17:46,340 So if I copy this and put it here and like that and then I click on Enter, I am going to get on here. 218 00:17:46,350 --> 00:17:48,300 But ideally it's supposed to be working. 219 00:17:48,720 --> 00:17:49,170 And there is. 220 00:17:49,170 --> 00:17:53,820 When I am doing the congruity, I remember in our database the primary key. 221 00:17:54,540 --> 00:17:59,850 The primary key, the one I'm pointing here in our database is the title of the article. 222 00:17:59,880 --> 00:18:04,560 So think Anchorage should be the one that we are using to get the article that you want to get. 223 00:18:05,340 --> 00:18:07,530 So this ideally should be working. 224 00:18:07,530 --> 00:18:08,430 It doesn't work. 225 00:18:08,430 --> 00:18:14,190 And there is it does doesn't work is because we have not done you are routing and that is what we want 226 00:18:14,190 --> 00:18:14,700 to do now. 227 00:18:14,850 --> 00:18:21,600 So you can do a website and at school you are a school, not you are sorry. 228 00:18:21,600 --> 00:18:24,290 And ask what route wrote and that school. 229 00:18:24,300 --> 00:18:27,170 And then rules underscore. 230 00:18:27,990 --> 00:18:35,290 This is a school website, road rules and then this takes in on Harry. 231 00:18:37,300 --> 00:18:39,220 He in and around this area. 232 00:18:39,300 --> 00:18:44,110 You can put in a number of items, so we are going to start with our first one and I'm going to be explaining 233 00:18:44,110 --> 00:18:44,830 what it does. 234 00:18:45,190 --> 00:18:47,490 This area contains objects. 235 00:18:47,500 --> 00:18:50,720 So, again, this is inside this area. 236 00:18:51,130 --> 00:18:53,440 We will have objects with an array of objects. 237 00:18:53,860 --> 00:18:56,770 And then inside here, we're going to have two sets of items. 238 00:18:57,040 --> 00:19:00,160 The first set of items is the from root. 239 00:19:00,700 --> 00:19:04,780 So I can just go ahead and do here from root. 240 00:19:05,140 --> 00:19:09,070 And then the next set of items that we are going to be having here is that truth. 241 00:19:09,490 --> 00:19:13,260 So I can do a comma and then I do two rounds. 242 00:19:13,570 --> 00:19:17,290 This tells Frappier, I want you to move from this to this. 243 00:19:17,650 --> 00:19:20,380 So these two items must be here. 244 00:19:20,770 --> 00:19:25,660 And then inside here we are going to do like the this is an object. 245 00:19:25,660 --> 00:19:32,920 So you are going to do Key and us so you can do call on here and then we open another set of brackets. 246 00:19:33,400 --> 00:19:35,350 I mean, good goods. 247 00:19:35,770 --> 00:19:38,540 And this one, the take away points here. 248 00:19:38,560 --> 00:19:40,060 This one must start with us. 249 00:19:40,060 --> 00:19:42,790 Tell us the route they're going to provide here. 250 00:19:42,790 --> 00:19:44,410 Must start with a slash. 251 00:19:44,650 --> 00:19:48,640 And then what follows is the name that is on you. 252 00:19:48,970 --> 00:19:54,430 Let me just go back the name that is on your page, the page that you want to get in this case, our 253 00:19:54,430 --> 00:19:55,210 detailed speech. 254 00:19:55,660 --> 00:20:00,680 So if you see this, other than the base you are, we have a library and the course. 255 00:20:00,730 --> 00:20:04,540 So we will be copying that and then we will pass it here. 256 00:20:05,350 --> 00:20:05,720 OK. 257 00:20:06,010 --> 00:20:13,450 And then inside here, because we also want to pass the idea, the primary key of the article, we are 258 00:20:13,450 --> 00:20:17,350 going to do that angle brackets and then we can supply something like this one. 259 00:20:17,350 --> 00:20:21,490 We can pass it on in here as long as it is inside the angled brackets. 260 00:20:22,030 --> 00:20:23,090 And then you are going to out. 261 00:20:23,290 --> 00:20:28,030 Of course, we had a comma here and then the next thing that remains is to up on our two rounds. 262 00:20:28,510 --> 00:20:35,260 Two rounds, again, is going to be a key and very precise so that the value that we are going to be 263 00:20:35,260 --> 00:20:38,530 providing here is only result. 264 00:20:38,890 --> 00:20:42,610 So it is close now in our case library. 265 00:20:43,600 --> 00:20:45,720 So this one is not prepared. 266 00:20:45,730 --> 00:20:50,470 It will tell us if you put us right here, are going to to plunge yourself into issues. 267 00:20:50,920 --> 00:20:59,830 So the only one that you must pass is the from road to road is not the that's not the actually not that 268 00:20:59,830 --> 00:21:01,570 it does not need to have a slash. 269 00:21:01,870 --> 00:21:03,490 You must not put us right here. 270 00:21:03,790 --> 00:21:05,220 So that is what we needed to do. 271 00:21:05,560 --> 00:21:10,450 So if you had many other roads like in France, if we hit, we hit another one here. 272 00:21:10,690 --> 00:21:16,330 You can just from here and then you are going to have another object here, maybe something that comes 273 00:21:16,330 --> 00:21:22,960 from books to something else so you can pass as many objects here as you wish. 274 00:21:24,310 --> 00:21:30,490 So now with this one declared here, if I go back to the page that we had, the page that had an error, 275 00:21:30,760 --> 00:21:35,440 this one, and then I wrote, if Arpège was fine, this is supposed to happen now. 276 00:21:35,800 --> 00:21:43,260 But again, it does not have our content, basically, because we have had to code that we have had 277 00:21:43,270 --> 00:21:44,290 good to this content. 278 00:21:44,740 --> 00:21:52,420 It is it if you go to the to the course, this is how good this is going to get only the article with 279 00:21:52,420 --> 00:21:53,200 this primary key. 280 00:21:53,440 --> 00:21:59,350 But we are coming here, so we are going to see also how to get individual individual articles here. 281 00:21:59,800 --> 00:22:03,850 Before we do that, we need to change our road, not our road. 282 00:22:03,850 --> 00:22:05,650 But there you are on the homepage. 283 00:22:07,050 --> 00:22:10,950 You see here we have a number of articles have included. 284 00:22:12,390 --> 00:22:19,590 Look at the bottom here, the bottom of the screen when I hover is seeing library cause this one library 285 00:22:19,590 --> 00:22:20,790 called this one library course. 286 00:22:20,790 --> 00:22:25,020 We need to link this to the individual, to their respective pages and all. 287 00:22:25,080 --> 00:22:30,510 Because when I click here and I do like something like they want to hear the pause or whatever it's 288 00:22:30,510 --> 00:22:35,820 loading we are now, it is not safe for us to go to the index page. 289 00:22:36,330 --> 00:22:43,350 And when we have this hypertext reference course, we can do class and then we pass. 290 00:22:45,450 --> 00:22:45,900 We pass. 291 00:22:45,900 --> 00:22:48,000 This year we are going to pass what we are going to pass. 292 00:22:48,310 --> 00:22:55,800 I mean, this is what contains that you are ill or the primary key of our article. 293 00:22:56,100 --> 00:23:02,010 We can copy that and also put it here on the on the title of the article so we can put it here. 294 00:23:02,190 --> 00:23:06,210 And we have a slide here, civic movement to the front page. 295 00:23:06,840 --> 00:23:11,880 And I need a few seconds to load up your refresh. 296 00:23:12,600 --> 00:23:17,100 And now and I, Hova, I have the titles you can see at the bottom of my page. 297 00:23:17,100 --> 00:23:18,090 Let me minimize this. 298 00:23:18,570 --> 00:23:19,590 The bottom of my page. 299 00:23:19,590 --> 00:23:21,300 I have the kangaroo reach this one. 300 00:23:21,300 --> 00:23:25,520 I have this to sixty to fifty eight and this one, we have reached that. 301 00:23:25,530 --> 00:23:29,280 But again, even if I click on it, it's taking me to think and grow rich. 302 00:23:29,520 --> 00:23:33,060 But look at you are you are still has as that rich that. 303 00:23:33,060 --> 00:23:42,720 So the next question is how do we get this rich that from our post profile here, how do we get extract 304 00:23:42,720 --> 00:23:50,700 that data and they pass it here so that every time this query runs, it queries the article with our 305 00:23:50,910 --> 00:23:53,130 our the key that we have passed. 306 00:23:54,240 --> 00:23:56,970 So why are we going to do that? 307 00:23:56,970 --> 00:23:57,980 We are going to pass. 308 00:23:58,380 --> 00:24:03,380 We are going to use a function of called frappé. 309 00:24:03,510 --> 00:24:06,960 Let me do something like article so that you can see it. 310 00:24:06,960 --> 00:24:08,760 Article equals Crapp. 311 00:24:08,760 --> 00:24:14,640 It's good for to but from because we can do for them for something like that. 312 00:24:16,850 --> 00:24:22,980 Think it's like that, think it's like that, so let's see whether we have it so we can print. 313 00:24:24,280 --> 00:24:25,090 It's print. 314 00:24:27,480 --> 00:24:30,240 I want to see where that is printing so I can do that. 315 00:24:34,300 --> 00:24:37,720 Formatted string, and then I can post this article here. 316 00:24:40,560 --> 00:24:42,670 Save it, let's see what we have here. 317 00:24:43,020 --> 00:24:45,180 So we are going to load this page. 318 00:24:46,270 --> 00:24:49,730 And then we are going to go into a terminal and you see here you have reached that. 319 00:24:50,110 --> 00:24:55,800 So this one has looked let me make this larger in our terminal here. 320 00:24:55,810 --> 00:24:58,660 It has a name, Richard. 321 00:24:59,020 --> 00:25:06,900 How about we go to another article so we can go back home and we go to an article like this one there. 322 00:25:06,910 --> 00:25:10,480 Boy one is they click on it, go back to our console. 323 00:25:10,660 --> 00:25:12,910 We have named the boy Wednesday. 324 00:25:13,090 --> 00:25:20,830 So now we are able to get the article that has been clicked by using frappé dot form dict. 325 00:25:21,400 --> 00:25:27,910 So how about now we take this form and instead of putting it there, we can delete this and the out 326 00:25:27,910 --> 00:25:28,710 of print function. 327 00:25:28,720 --> 00:25:34,810 We don't need it and instead will instead of doing this, we pass it on from the dot. 328 00:25:35,110 --> 00:25:36,190 You see what it is logging. 329 00:25:36,220 --> 00:25:39,030 He has a name so we need to copy this name. 330 00:25:39,490 --> 00:25:45,730 Well, it does go here in just the name so that it gives us the exact item that we need. 331 00:25:46,480 --> 00:25:47,380 Then we save it. 332 00:25:48,760 --> 00:25:55,900 I'm going to go back to our page Reloaded, so click on this, I wanted to take note of the let me click 333 00:25:55,900 --> 00:25:58,570 the first one to reach this one. 334 00:25:58,750 --> 00:25:59,710 Take note of this. 335 00:26:00,070 --> 00:26:01,450 Remember, this is dynamic data. 336 00:26:01,870 --> 00:26:03,400 So we have the kangaroo reach here. 337 00:26:03,940 --> 00:26:09,790 If I go back to the home page, I scroll down to something like that. 338 00:26:09,790 --> 00:26:11,780 I click on this take note. 339 00:26:11,890 --> 00:26:13,050 This one is now restored. 340 00:26:13,090 --> 00:26:14,850 So and we don't have an image here. 341 00:26:14,860 --> 00:26:17,170 You can see this one doesn't have an image. 342 00:26:17,170 --> 00:26:18,760 That's why it's complaining. 343 00:26:19,100 --> 00:26:26,260 If I go to read that and I applaud the photo waves photo, I attached an image here. 344 00:26:28,050 --> 00:26:36,660 I can just attach a which image, let me just download an image from the Internet book, who needs. 345 00:26:38,850 --> 00:26:44,800 And they get an image here like this one we used so we can use this one today. 346 00:26:45,480 --> 00:26:47,870 So this one is very large. 347 00:26:48,960 --> 00:26:50,380 So let's get to this one. 348 00:26:51,090 --> 00:26:56,760 So save image and you can see it as BBT to the desktop and save. 349 00:26:57,830 --> 00:27:02,660 And then we come to our article here and grab our image. 350 00:27:03,990 --> 00:27:11,160 And upload that image immediacy, if if I reload this page, I am expecting now I'm going to see an 351 00:27:11,160 --> 00:27:12,370 image here. 352 00:27:12,390 --> 00:27:14,080 So let me try that and see whether it works. 353 00:27:14,380 --> 00:27:19,560 And yes, you see, the image that you just uploaded is now watching because we have uprooted an image 354 00:27:19,560 --> 00:27:20,610 on that. 355 00:27:21,390 --> 00:27:24,140 So and these are the data that we have here is not dynamic. 356 00:27:24,150 --> 00:27:30,720 If I go back again to the homepage and I select another article, I quote like this, the point is they 357 00:27:30,930 --> 00:27:31,670 click on it. 358 00:27:32,370 --> 00:27:34,820 This is the boy who harnessed the wind. 359 00:27:34,950 --> 00:27:42,060 So we have and it doesn't have an image, ideally because this article doesn't have an image on the 360 00:27:42,060 --> 00:27:42,570 back end. 361 00:27:43,500 --> 00:27:47,810 So that done that covers the topic for you are routing. 362 00:27:47,850 --> 00:27:50,930 If you don't have any questions, we are going to stop there. 363 00:27:50,940 --> 00:27:56,010 Then I'm going to stop to talk very briefly about or I can just summarize this so that you ask questions 364 00:27:56,010 --> 00:27:59,040 and we close building Web apps in Frappé. 365 00:27:59,040 --> 00:28:05,970 This topic, topic number eight, that is what we have been doing because ideally building Web apps 366 00:28:05,970 --> 00:28:12,540 is making sure that you can come to the back end here, creating a DOCTYPE, a do whatever you want 367 00:28:12,540 --> 00:28:16,860 to do with it, maybe do some customizations and do all that. 368 00:28:17,220 --> 00:28:19,050 And then maybe you can decide. 369 00:28:19,050 --> 00:28:25,830 I do not want to use your next OVERPAYS default theme, so I want to install my own theme on my app 370 00:28:26,130 --> 00:28:28,740 and then I can display that data on the front end. 371 00:28:29,040 --> 00:28:32,270 So we have covered we have covered the whole of this topic. 372 00:28:32,700 --> 00:28:37,530 So if you are comfortable with that today, we have closed topic number eight on the advanced topics 373 00:28:38,010 --> 00:28:41,060 and topic number twenty one on the beginning topics. 374 00:28:41,070 --> 00:28:44,010 I welcome any questions that you may have. 375 00:28:47,320 --> 00:28:50,400 The number ages government building up. 376 00:28:52,530 --> 00:28:53,640 Today only, right? 377 00:28:54,450 --> 00:28:59,400 Yeah, no, not the only building where Bob is ideally what we have been doing like the whole time, 378 00:29:00,420 --> 00:29:05,130 is making sure that you are able to use Frappier, you know, for a piece of remoulade framework like 379 00:29:05,130 --> 00:29:09,150 any other like jungle, like Laravel, like all those. 380 00:29:09,600 --> 00:29:16,020 So if you are able to build Web apps in Frappé, like you are able to create, DOCTYPE is able to do 381 00:29:16,020 --> 00:29:21,090 custom scripting and now you can go ahead and also render your stuff on the front end. 382 00:29:21,430 --> 00:29:27,660 That is what I meant by creating Web apps with Frappé so you can decide in your next project. 383 00:29:27,670 --> 00:29:30,130 I am not going to use Django, I am going to use for. 384 00:29:32,050 --> 00:29:45,640 Hey, yeah, so to summarize the process, now, you you make a page to show all items from DOCTYPE, 385 00:29:45,640 --> 00:29:45,930 right? 386 00:29:46,480 --> 00:29:46,900 Yes. 387 00:29:47,200 --> 00:29:55,300 You are showing all your books, which is a DOCTYPE, all articles and every every articles you click 388 00:29:55,300 --> 00:30:03,100 on the article, articles, name it to open it, open the article, page details which we are showing 389 00:30:03,790 --> 00:30:04,480 the photo. 390 00:30:06,020 --> 00:30:06,170 Yes. 391 00:30:07,840 --> 00:30:11,910 Second, the second one, this chart. 392 00:30:12,280 --> 00:30:15,970 Can you click on this because we, we didn't see the result. 393 00:30:16,720 --> 00:30:17,230 Which one. 394 00:30:17,740 --> 00:30:25,510 It is the the last book Ricchiardi which are called Article. 395 00:30:26,590 --> 00:30:29,830 Rich, rich dad, rich dad is this one? 396 00:30:30,190 --> 00:30:30,660 Yeah. 397 00:30:31,170 --> 00:30:36,970 OK, so if I click on that deludes rich dad this one, we we uploaded an image. 398 00:30:37,960 --> 00:30:39,850 Yeah, to go down, go down. 399 00:30:41,720 --> 00:30:49,010 All the descriptions and there's all this content remembers from the theme, so if you want to change, 400 00:30:49,350 --> 00:30:51,470 let's say, for instance, mom, you want to change this. 401 00:30:52,670 --> 00:30:53,350 What can we change? 402 00:30:53,360 --> 00:30:58,820 We change this Fezzan Fundraising's we change days to the description that we have received, reached 403 00:30:58,820 --> 00:31:00,290 rich that rich that. 404 00:31:00,290 --> 00:31:06,440 So we can say this is some things that more bitter. 405 00:31:07,560 --> 00:31:12,540 So this is what we expect to see on on this section, on this issue. 406 00:31:12,870 --> 00:31:21,600 So what we do, we come to our page and we close this and open this up, go to cosmonaut e-mail. 407 00:31:23,700 --> 00:31:25,580 And then in. 408 00:31:27,700 --> 00:31:33,100 Ways that you see this one is talking about this and this and then this is hardcoded, you move this 409 00:31:33,100 --> 00:31:40,630 according you move it, and then here is what we need to pass. 410 00:31:41,380 --> 00:31:45,820 We had let's see, we had what was the name of the article? 411 00:31:45,820 --> 00:31:45,980 You are. 412 00:31:46,300 --> 00:31:47,790 Oh, we had description, actually. 413 00:31:47,940 --> 00:31:51,730 Actually, we have about the article you see we have about article your article description. 414 00:31:52,420 --> 00:31:55,630 So we have it so we can listen to what we have done. 415 00:31:57,790 --> 00:32:01,210 We have article description here, so it should be somewhere already. 416 00:32:01,210 --> 00:32:03,220 So let's roll and see where it is coming up. 417 00:32:04,690 --> 00:32:07,990 Article description, here it is, this is some test demo data. 418 00:32:09,400 --> 00:32:10,290 Yeah, OK. 419 00:32:11,660 --> 00:32:20,810 So now this is the dynamic, this is you are building the page depends on the article, correct? 420 00:32:21,830 --> 00:32:23,270 Yes, yes, yes. 421 00:32:23,270 --> 00:32:24,760 Absolutely, yes, yes. 422 00:32:25,640 --> 00:32:33,230 So if we come to I know we don't have a description for some article, like let me show you like this, 423 00:32:33,230 --> 00:32:34,870 the humanitarian disaster. 424 00:32:34,880 --> 00:32:36,020 I love you. 425 00:32:36,020 --> 00:32:37,830 See, this description is not here. 426 00:32:38,180 --> 00:32:44,300 So if we come here and go to the boy, one is the wind in cricket about ATCO. 427 00:32:44,870 --> 00:32:47,420 There's none is telling us, not because it's not there. 428 00:32:47,870 --> 00:32:56,510 But if we come here and put this demo in save and now we reload here, we're going to we are going to 429 00:32:56,510 --> 00:33:00,070 see that one loading here, this demo, because ideally it's dynamic. 430 00:33:00,080 --> 00:33:03,800 So if an article doesn't have a description, it is not going to show. 431 00:33:06,090 --> 00:33:17,010 So in other words, you want to see that this text static text this like the about article I had this 432 00:33:17,060 --> 00:33:18,790 this time this is a demon. 433 00:33:19,630 --> 00:33:20,040 Yes. 434 00:33:21,840 --> 00:33:27,990 Before suppose you don't have BRP next, you don't use your DOCTYPE. 435 00:33:28,740 --> 00:33:35,430 So to change this, to to change this text, you have to open the entertainment page and to change it 436 00:33:35,430 --> 00:33:37,770 inside the entertainment page. 437 00:33:37,780 --> 00:33:38,070 Right. 438 00:33:38,480 --> 00:33:39,080 Correct. 439 00:33:39,090 --> 00:33:39,570 Correct. 440 00:33:39,960 --> 00:33:47,730 So now you are saying, OK, just I give you a front end, you put whatever you want in this place, 441 00:33:47,730 --> 00:33:52,770 it will show dynamically without you do not need any more developer. 442 00:33:53,910 --> 00:34:01,170 No, you don't, you don't this the whole purpose of a dream, a dream like this one is you can go to 443 00:34:01,170 --> 00:34:06,240 the Internet and look for a team that is like 90 percent or 95 percent of what you want. 444 00:34:06,840 --> 00:34:13,770 And then you just take it, integrate it into application, and then you start replacing data like this 445 00:34:13,770 --> 00:34:14,650 is static data. 446 00:34:14,910 --> 00:34:21,960 This is a record that is so you not replacing this with the dynamic data from your database. 447 00:34:22,380 --> 00:34:28,260 So your users are going to see dynamic data and you will not you will not have invested your time building 448 00:34:28,260 --> 00:34:28,890 front end. 449 00:34:29,760 --> 00:34:30,060 OK. 450 00:34:31,380 --> 00:34:32,180 Yeah, yeah. 451 00:34:32,490 --> 00:34:32,800 Yes. 452 00:34:33,540 --> 00:34:42,960 So now you give him like self autonomy to change text in the front end dynamically, dynamically. 453 00:34:43,320 --> 00:34:53,760 Just he will put whatever he wanted in this area or in this field saved reflected automatically. 454 00:34:53,760 --> 00:34:55,590 It will be reflected in the website. 455 00:34:56,280 --> 00:34:56,910 Absolutely. 456 00:34:56,920 --> 00:34:57,240 Yes. 457 00:34:58,020 --> 00:35:00,090 I got yes, yes, yes. 458 00:35:00,120 --> 00:35:01,800 It make it very easy. 459 00:35:01,800 --> 00:35:03,750 And the task to change the website. 460 00:35:04,200 --> 00:35:04,650 Yes. 461 00:35:04,650 --> 00:35:05,100 Correct. 462 00:35:05,100 --> 00:35:05,520 Correct. 463 00:35:05,530 --> 00:35:08,870 Yeah, yeah, yeah, yeah. 464 00:35:12,330 --> 00:35:12,600 Yes. 465 00:35:12,660 --> 00:35:13,410 Please go ahead. 466 00:35:15,210 --> 00:35:25,940 If we create a user website, this user will hire will he have access to the disk or not? 467 00:35:27,900 --> 00:35:36,420 If you create a new user for the website, yes, I use a Web site, you can go to the desk. 468 00:35:38,440 --> 00:35:43,030 Karen and I also look for user. 469 00:35:44,820 --> 00:35:49,440 Now, what happens when you create a user, when you create a user? 470 00:35:49,480 --> 00:35:50,900 Let's let's just do that. 471 00:35:51,240 --> 00:35:57,000 When I come to users and I decide which is user user and I decide I want to create a new user. 472 00:35:57,540 --> 00:35:58,240 You see this one? 473 00:35:58,260 --> 00:36:00,230 This plan is talking about system user here. 474 00:36:00,240 --> 00:36:02,430 You see why this is a rating system user. 475 00:36:03,410 --> 00:36:10,070 So let me get it in full page, racist Amusa, where is it was it was it. 476 00:36:10,070 --> 00:36:10,540 Was it. 477 00:36:10,910 --> 00:36:11,760 So I lost it. 478 00:36:11,960 --> 00:36:13,310 So what happens here? 479 00:36:14,660 --> 00:36:20,980 When you create a user from here, the user is automatically granted permission to the disk. 480 00:36:21,500 --> 00:36:28,460 But you can limit that by by by telling the system not to create a system user, but instead creator 481 00:36:28,850 --> 00:36:29,940 our website user. 482 00:36:29,960 --> 00:36:31,150 You see this website user. 483 00:36:31,730 --> 00:36:36,950 So the website, if you create someone and give them the rights of our website user, they cannot log 484 00:36:36,950 --> 00:36:37,670 in to the disk. 485 00:36:38,550 --> 00:36:44,630 OK, yeah, we can get right now to the discussion. 486 00:36:45,980 --> 00:36:47,960 If we create a website user. 487 00:36:51,570 --> 00:37:03,630 I didn't get your questions right now, so if he look again, he will direct directly to to the website. 488 00:37:05,990 --> 00:37:07,090 Let me show you what happens. 489 00:37:07,130 --> 00:37:14,610 Let's just go ahead and create a Web site user, something like test e-mail, dot com. 490 00:37:15,180 --> 00:37:23,970 And then we can see the first name is placed and say, you, Abuzer, last name. 491 00:37:25,720 --> 00:37:30,340 So we give them the abuser will be end to abuser. 492 00:37:30,370 --> 00:37:34,300 Last name, first name Web users are Web users like that. 493 00:37:34,300 --> 00:37:38,570 So we can also change this to Web users Web site ineloquent. 494 00:37:39,250 --> 00:37:40,960 So we go ahead and save. 495 00:37:42,360 --> 00:37:47,790 Now, this is train, this is going to attempt to send the email. 496 00:37:49,070 --> 00:37:53,930 So for us to be able to log in with that user, we need to come here and change the password because 497 00:37:53,930 --> 00:37:56,120 we don't know that email doesn't exist. 498 00:37:56,600 --> 00:38:02,390 But even if you look at this, you see there is nothing that is selected in the in the Rosia. 499 00:38:02,390 --> 00:38:03,490 Nothing is directed here. 500 00:38:03,500 --> 00:38:05,020 So they don't have any rights. 501 00:38:05,330 --> 00:38:17,920 So judging the password drew something like this that they don't know what they need to adjust to that. 502 00:38:18,050 --> 00:38:20,180 Save it. 503 00:38:21,020 --> 00:38:21,310 No. 504 00:38:21,800 --> 00:38:26,120 So let me log out or I can do an incognito. 505 00:38:27,140 --> 00:38:36,290 Um, window, oh, it's opening on another screen, let me put it in so yeah, I can do. 506 00:38:37,580 --> 00:38:40,910 Like that, 06 and then Log-in. 507 00:38:42,620 --> 00:38:44,200 Well, I want to log in with our users. 508 00:38:44,250 --> 00:38:47,570 I'm going to play the password and I mean the email and the password. 509 00:38:50,210 --> 00:38:53,590 Doggin success, you see where they are taking. 510 00:38:55,670 --> 00:38:56,960 They cannot go to their desk. 511 00:38:57,910 --> 00:38:58,720 Both perfect. 512 00:38:59,570 --> 00:39:02,230 Yeah, that's my question. 513 00:39:06,630 --> 00:39:07,600 OK, OK. 514 00:39:10,210 --> 00:39:12,280 Can you can you repeat the last one? 515 00:39:15,040 --> 00:39:24,610 Karani, I didn't get it, so once once you login with the login, yeah, I have to pull it up again. 516 00:39:27,490 --> 00:39:28,560 So here we are. 517 00:39:29,080 --> 00:39:30,640 We go to there you are, El. 518 00:39:32,570 --> 00:39:35,990 Ideally, this person is going to be taken to the website. 519 00:39:36,020 --> 00:39:39,980 We are not going to go beyond the list and apply the password 520 00:39:42,770 --> 00:39:48,980 login success then directly to the to the to the to the website. 521 00:39:48,980 --> 00:39:50,160 You see, ideally what happens. 522 00:39:50,180 --> 00:39:56,150 You see that you are not seeing it here is going to is going to library and library is what we set as 523 00:39:56,150 --> 00:39:57,950 the basis for our website. 524 00:39:58,340 --> 00:39:59,870 So this is not going to be taken. 525 00:40:02,640 --> 00:40:03,000 No. 526 00:40:03,040 --> 00:40:03,390 No. 527 00:40:03,410 --> 00:40:09,260 What is the usage of what is the difference between someone who logged in and someone who don't look 528 00:40:09,280 --> 00:40:12,650 at the difference is this. 529 00:40:12,950 --> 00:40:18,950 You can customize some parts of this website like a portal, such that if someone is not able to see 530 00:40:18,950 --> 00:40:19,850 some pages. 531 00:40:20,210 --> 00:40:25,440 So there are some pages that you can set in the mix, then make them not accessible to people until 532 00:40:25,440 --> 00:40:26,210 when they are logged in. 533 00:40:26,690 --> 00:40:28,100 So what happens? 534 00:40:28,100 --> 00:40:32,450 Ideally in systems, you see systems checking conditions like a guest. 535 00:40:33,830 --> 00:40:37,340 If someone is not logged in, that person is a guest. 536 00:40:37,820 --> 00:40:42,650 But if someone is logged in, even if they are logged in with the library permission, I mean, with 537 00:40:42,650 --> 00:40:49,660 the website user permission, that person is not against that person is a use of the system where you 538 00:40:49,660 --> 00:40:51,080 will put this condition. 539 00:40:51,200 --> 00:40:52,390 Guests are not guests. 540 00:40:53,140 --> 00:40:53,450 Yes. 541 00:41:04,260 --> 00:41:07,470 Yes, you got my question, Karen. 542 00:41:08,250 --> 00:41:09,410 No, it was a good show. 543 00:41:09,430 --> 00:41:10,050 No, I didn't. 544 00:41:10,440 --> 00:41:18,900 Yeah, I'm asking you said some pages, you know, is a guest or not. 545 00:41:18,910 --> 00:41:20,010 You put the condition. 546 00:41:20,490 --> 00:41:20,880 Mm hmm. 547 00:41:21,230 --> 00:41:22,580 Uh, yeah. 548 00:41:22,660 --> 00:41:27,440 So where are you to put this condition to check if he's a guest or not? 549 00:41:28,910 --> 00:41:35,030 Now, ideally, it is in the pothole, you see, when you are creating the potholes, the pothole pages 550 00:41:35,030 --> 00:41:35,410 here. 551 00:41:36,320 --> 00:41:41,600 You can decide to use it like like like in the front end here and here. 552 00:41:41,960 --> 00:41:45,100 If you come here, you can decide to give the whole of this page. 553 00:41:45,320 --> 00:41:46,370 There is guest. 554 00:41:46,730 --> 00:41:49,060 I think Frappier has that is guest. 555 00:41:49,110 --> 00:41:53,210 Let me see if they're using it against Frappier. 556 00:41:55,650 --> 00:42:02,010 I promise not to restrict public access to posts you see like this one actually is on their recommendations. 557 00:42:02,700 --> 00:42:08,620 So you see you see they even have that wrong guest blogger, website, web website manager. 558 00:42:08,850 --> 00:42:14,640 So if someone is against the are some things they are not able to access, I think this is a topic that 559 00:42:14,880 --> 00:42:20,790 people need to people need to do to research on a condition. 560 00:42:20,790 --> 00:42:25,980 If you are added to the system as Web site user, you are not against your user. 561 00:42:26,130 --> 00:42:33,150 So you're able to access some things that someone is logging in from another place of the world or cannot 562 00:42:33,150 --> 00:42:35,820 access or something like like a blog. 563 00:42:35,830 --> 00:42:40,830 If you write a blog, there are some content that you put for members only. 564 00:42:41,460 --> 00:42:43,960 So you don't want that content to be seen by everybody. 565 00:42:44,430 --> 00:42:51,840 So the easiest way to do that is to make some blog posts as members on content, which will mean that 566 00:42:51,840 --> 00:42:58,550 guests will not see it is already visible to members who are who are using system users. 567 00:42:59,610 --> 00:43:08,760 But this if you go to the pages in there and the website module in the in the in the yes. 568 00:43:08,760 --> 00:43:13,020 Here you are a guest user. 569 00:43:13,020 --> 00:43:23,820 I think if you look at this, these admin try to go and create a Web page using frappé standard. 570 00:43:24,880 --> 00:43:28,150 Page by page three is yes. 571 00:43:29,770 --> 00:43:36,310 Here in the property, they are asking there is checkboxes in the first place go up. 572 00:43:39,230 --> 00:43:48,110 Full publishing a need to be logged in, yes or no, there is somewhere I forgot where exactly it's 573 00:43:48,110 --> 00:43:49,190 in the Web page or. 574 00:43:51,520 --> 00:43:56,050 And it needs to be to use this page. 575 00:43:57,810 --> 00:44:04,360 You should check the there is Checkbook's login required or not ahar. 576 00:44:05,740 --> 00:44:08,500 I saw it somewhere, I forgot it. 577 00:44:10,840 --> 00:44:15,160 So what did I do, logged in logging flagged us. 578 00:44:15,370 --> 00:44:21,630 My thinking is I think it just places not exist in flag on a page. 579 00:44:22,150 --> 00:44:28,690 So if you take a like, for instance, the vertical but only able to see it and you check your check 580 00:44:28,690 --> 00:44:34,000 must be logged in your area, that page is going to require someone to be a user. 581 00:44:34,060 --> 00:44:35,010 Our website user. 582 00:44:35,200 --> 00:44:36,570 So it's just going to flag that. 583 00:44:36,580 --> 00:44:40,710 We just are on our Web forum. 584 00:44:40,720 --> 00:44:43,260 Can you open up for Whipworm? 585 00:44:43,660 --> 00:44:46,660 There is DOCTYPE code for reform. 586 00:44:47,530 --> 00:44:48,090 Yes. 587 00:44:48,160 --> 00:44:49,000 Look formalised. 588 00:44:49,180 --> 00:44:49,660 Yes. 589 00:44:51,550 --> 00:44:56,560 Open anyone logged login required this one. 590 00:44:56,950 --> 00:45:06,730 Yes, this one is standard, the published web form login required is not allowed free and. 591 00:45:09,440 --> 00:45:19,840 OK, OK, so here, when you do a report, you are linking this web form to other type, custom or standard 592 00:45:20,030 --> 00:45:31,700 type, and you publish this Web form to the website and then, uh, the the user, uh, when you start 593 00:45:31,700 --> 00:45:39,650 filling the web form, web form is feels like contact details or something for information you are getting 594 00:45:39,650 --> 00:45:40,320 from user. 595 00:45:41,060 --> 00:45:48,320 So when he started, when he start to open the way for this condition, login required his ticket. 596 00:45:48,980 --> 00:45:54,440 If login required, that means it should provide username and password. 597 00:45:56,090 --> 00:46:02,530 You go to Damián, so in this time when login required a system, we'll ask him for username and password, 598 00:46:02,830 --> 00:46:05,500 then it will proceed to enter data and submit. 599 00:46:08,900 --> 00:46:17,930 This is just similar to what you said earlier, when you design a page, this page, you are you are 600 00:46:17,930 --> 00:46:25,010 putting good condition is against users, yes or not, but still, still. 601 00:46:27,140 --> 00:46:29,810 OK, Boubacar, what is the use case? 602 00:46:30,230 --> 00:46:37,940 If it is Web site user and you log in, then what is the added value? 603 00:46:41,430 --> 00:46:52,920 Can anyone have access from them back where we will deploy this website? 604 00:46:53,250 --> 00:46:58,560 Yes, it will have no success, but bye bye, everybody. 605 00:47:00,410 --> 00:47:07,170 Now you're to at this. 606 00:47:08,520 --> 00:47:14,240 You mean you mean first step is looking right, you will ask him to look in. 607 00:47:14,460 --> 00:47:17,130 It's not like Amazon website. 608 00:47:17,370 --> 00:47:19,270 Anyone can do it. 609 00:47:19,620 --> 00:47:21,400 No, no, no, no, no. 610 00:47:22,530 --> 00:47:25,950 You are saying it's like a private website. 611 00:47:25,950 --> 00:47:26,550 Private? 612 00:47:26,580 --> 00:47:27,870 Yes, it's a private. 613 00:47:29,670 --> 00:47:30,420 I got you. 614 00:47:30,450 --> 00:47:37,530 Is that one the easiest thing to do is just allow them to create to create accounts. 615 00:47:37,890 --> 00:47:44,130 So you see, when I allow them to create accounts and they make sure that you have set the system in 616 00:47:44,130 --> 00:47:50,460 such a way that when someone creates an account, they are automatically assigned to the rules of the 617 00:47:50,460 --> 00:47:51,250 website user. 618 00:47:51,930 --> 00:47:53,130 It will be as simple as that. 619 00:47:56,750 --> 00:47:58,190 What a what I mean is, 620 00:48:02,060 --> 00:48:06,760 number one, you are going to make your website in such a way that the landing page, I think we did 621 00:48:06,760 --> 00:48:12,620 that this the last time is looking page is the login page login. 622 00:48:16,080 --> 00:48:19,590 So good to log in page, go to login page. 623 00:48:21,770 --> 00:48:22,430 Logout. 624 00:48:24,890 --> 00:48:25,880 Then log in. 625 00:48:27,590 --> 00:48:33,530 Yeah, this one, yeah, he will sign up, he will do sign up, for example, don't have an account 626 00:48:33,770 --> 00:48:35,800 and sign up for this one. 627 00:48:35,810 --> 00:48:35,990 Yeah. 628 00:48:35,990 --> 00:48:38,020 This and this. 629 00:48:38,720 --> 00:48:39,340 Yeah. 630 00:48:39,350 --> 00:48:45,830 In this case, he will request a username password as a website user. 631 00:48:50,520 --> 00:48:51,350 Alow. 632 00:48:53,140 --> 00:48:53,450 Yes. 633 00:48:53,860 --> 00:49:05,620 And so here, here, when he request and you use it automatically, the default user type will get assigned. 634 00:49:07,550 --> 00:49:10,780 It's a website user, right? 635 00:49:12,180 --> 00:49:18,140 Oh, yeah, correct, you are right, yeah, yeah, yeah, yeah. 636 00:49:19,780 --> 00:49:20,170 OK, 637 00:49:27,820 --> 00:49:33,650 so go back to the agenda Karani, can you go back to agenda? 638 00:49:34,150 --> 00:49:37,920 Is there any other question I know? 639 00:49:38,440 --> 00:49:39,040 Can you do? 640 00:49:39,040 --> 00:49:40,000 Is there any question? 641 00:49:41,470 --> 00:49:48,300 OK, now in the agenda, uh, can you highlight your routing is done OK? 642 00:49:48,820 --> 00:49:49,480 Twenty one. 643 00:49:50,200 --> 00:49:51,410 I'm just, uh. 644 00:49:51,460 --> 00:49:52,270 Good question. 645 00:49:52,510 --> 00:49:58,240 Before the session, uh, how many were we are expecting to finish the course. 646 00:49:59,430 --> 00:50:07,530 So here there is three topics in the four topics in the beginning. 647 00:50:09,210 --> 00:50:09,750 Yes. 648 00:50:11,460 --> 00:50:16,680 So one, two, three, four, four in advance. 649 00:50:16,710 --> 00:50:18,280 Then the foreign. 650 00:50:20,300 --> 00:50:28,460 So maybe this week and the week, next week, end of next week, as a tentative, we can complete the 651 00:50:29,210 --> 00:50:31,110 remaining course, right? 652 00:50:31,670 --> 00:50:32,150 Yeah. 653 00:50:33,720 --> 00:50:41,720 Yes, there isn't much heavier topics like this integration this is going to be along on this topic 654 00:50:41,720 --> 00:50:47,010 is going to be very long, so I don't know whether it is going to it can definitely not fit in an hour. 655 00:50:47,450 --> 00:50:53,950 OK, so we are going to see we are going to see what you going to do with it so we can put it at the 656 00:50:53,960 --> 00:50:54,260 end. 657 00:50:54,890 --> 00:50:56,960 Yes, yes, yes. 658 00:50:56,960 --> 00:51:05,210 As I said, there is we discussed earlier in the script report, which which is very important. 659 00:51:06,290 --> 00:51:10,640 You have been for your comments, so I will share my screen. 660 00:51:12,650 --> 00:51:13,030 OK. 661 00:51:16,800 --> 00:51:19,360 Your agenda and my agenda. 662 00:51:20,310 --> 00:51:30,060 So here I put barcoding and and, uh, we discussed this another one, which is the script report. 663 00:51:31,920 --> 00:51:40,610 And we will check if this two point we have time will do a script, report, picture and barcoding, 664 00:51:40,620 --> 00:51:45,140 this is additional topics from the one we started earlier. 665 00:51:46,280 --> 00:51:50,460 So now, now let's resume uninteresting. 666 00:51:50,480 --> 00:51:58,140 We did this today one hour, and we closed this topic number twenty one. 667 00:51:58,160 --> 00:51:58,860 It's closed. 668 00:51:59,300 --> 00:52:06,290 So back to the what we say, the big topics, big topics. 669 00:52:06,290 --> 00:52:10,580 We completed 2.5, five hours, so. 670 00:52:11,630 --> 00:52:19,890 I have two hours and half is left in the in the beginning and seven hours left. 671 00:52:20,860 --> 00:52:23,410 And adventured, Topix. 672 00:52:24,390 --> 00:52:32,020 So it's like a summary of the progress on our training program. 673 00:52:33,120 --> 00:52:43,590 So seven and, uh, to nine hours, nine hours maybe we cover this during this week and the week after. 674 00:52:44,250 --> 00:52:46,140 Maybe we need some other. 675 00:52:47,330 --> 00:52:48,560 Days after that. 676 00:52:49,940 --> 00:52:51,930 Oh, almost done today. 677 00:52:52,850 --> 00:52:53,450 So. 678 00:52:55,880 --> 00:52:58,250 If there is no question, we shall close the. 679 00:53:04,490 --> 00:53:05,140 Yes. 680 00:53:07,480 --> 00:53:07,890 OK. 681 00:53:12,780 --> 00:53:17,640 OK, thank you very much for your time and attendance. 682 00:53:17,820 --> 00:53:19,470 See you not tomorrow. 683 00:53:19,500 --> 00:53:22,110 After tomorrow, I will confirm, as usual by email. 684 00:53:22,960 --> 00:53:23,860 Thank you, Karen. 685 00:53:23,980 --> 00:53:27,940 Thank you, all of you and to you next time. 686 00:53:29,250 --> 00:53:31,170 Thank you, thank you, thank you. 687 00:53:32,010 --> 00:53:33,150 Bye bye bye. 688 00:53:34,400 --> 00:53:34,810 Thank you. 689 00:53:34,900 --> 00:53:36,080 Bye bye.